#ifndef __USER_REGION_ALARM_TYPE_WIDGET_INCLUDE__
#define __USER_REGION_ALARM_TYPE_WIDGET_INCLUDE__
#include "ui_UserRegionAlarmTypeWidget.h"
#include "UserRegionAlarmTypeDef.h"

class UserRegionAlarmTypeWidget :public QWidget {
	Q_OBJECT
public:
	UserRegionAlarmTypeWidget(QWidget* parent = NULL);
	virtual ~UserRegionAlarmTypeWidget();

	void setUserRegionAlarmType(const UserRegionAlarmType& value);
	UserRegionAlarmType getUserRegionAlarmType();

signals:
	void regionAlarmTypeChanged(UserRegionAlarmType value);

private slots:
void enterAlarm_stateChanged(int state); 
void leaveAlarm_stateChanged(int state);
void stopAlarm_stateChanged(int state);



private:
	Ui::FormUserRegionAlarmType ui;
	UserRegionAlarmType current_property; 
};


#endif